CreateEditionContainerFile
CreateEditionContainerFile Create an empty edition container
#include <Editions.h> Edition Manager
OSErr CreateEditionContainerFile( editionFile , fdCreator,
editionFileNameScript);
const FSSpec * editionFile ; contains the volume reference number,
directory ID, and filename of the new edition
container
OSType fdCreator ; the creator type
ScriptCode editionFileNameScript ; is the script of the filename.
returns Error Code; 0=no error
Each time a user creates a new publisher section within a document to an
edition that does not already exist, you use the CreateEditionContainerFile
function to create an empty edition container.
editionFile contains the volume reference number, directory ID, and
filename for the edition container being created
fdCreato contains the creator type for the edition
editionFileNameScrip is the script of the filename. It is returned in the
theFileScript field of the edition container specification
record. (The new publisher reply record includes a container
field for an edition container specification record.)
Returns: an operating system Error Code.
noErr (0) No error
editionMgrInitErr (-450) Manager not initialized

Notes: The CreateEditionContainerFile function creates an empty
edition container file (it does not contain any formats). This function
creates a file type 'edtu'. As soon as you write data to the edition, the type is
updated (to 'edtp' for graphics, 'edtt' for text, or 'edts' for sound). If both
text and pict are written, the type that was written first determines the file
type. If your application has a bundle, you should designate an icon for the
appropriate edition types that you can write.